package com.example.springbootservice.util.event;

import com.example.springbootservice.model.event.UserEventModel;
import com.google.common.eventbus.Subscribe;
import com.ly.common.running.annotation.EventListenerAnnotation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@EventListenerAnnotation
@Component
public class UserEventImplement {

    @Subscribe
    public void exe(UserEventModel userEventModel){
        log.info(userEventModel.toString());
    }
}
